package com.zyong.design.pattern.facade.case2;

/**
 * 剧院光
 * @program: zyong-design-pattern
 * @ClassName: TheaterLight
 * @author: zyong
 * @create: 2024-04-07 23:26
 */
public class TheaterLight {
    private static TheaterLight instance = new TheaterLight();

    public static TheaterLight getInstance() {
        return instance;
    }

    /**
     * 开
     */
    public void on() {
        System.out.println("TheaterLight is on");
    }

    /**
     * 关
     */
    public void off() {
        System.out.println("TheaterLight is off");
    }

    /**
     * 调暗
     */
    public void dim() {
        System.out.println("TheaterLight is dimming");
    }

    /**
     * 调亮
     */
    public void bright() {
        System.out.println("TheaterLight is brightening");
    }
}
